package com.zimmur.model.goods;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.zimmur.model.account.GoodsUser;
import com.zimmur.model.base.BaseModel;

public class Goods extends BaseModel{
	private static final long serialVersionUID = 1833590549542764393L;

	private String goodsId;

    private String title;

    private String coverImage;
    private String coverImageUrl;
    //标准价
    private BigDecimal standardPrice;
    //商品单价
    private BigDecimal price;
    /**
     * 是否预售 0=否 1=是
     */
    private Short isPrepay;
    /**
     * 预售价格
     */
    private BigDecimal prepayPrice;
    
    //up=在售/down=下架/wait=待售中
    private String status;
    //尺码总库存数
    private Integer inventoryNum;
    private Short offPercent;
    @JsonIgnore
    private Short displayStatus;

    private String smallDesc;
    @JsonIgnore
    private Short recommandType;

    //1=衣匠/2=家定
    private Integer typeFlag;

    private Integer typeId;
    @JsonIgnore
    private Integer iorderNum;

    private Integer browerNum;

    private Integer shareNum;

    private Integer saleNum;

    private Integer publishDate;
    @JsonIgnore
    private Integer createDate;

    private Long userId;

    private String tags;
    @JsonIgnore
    private String content;
    //款式编号
    private String styleCode;
    //社区推荐数
    private int zoneNum;
    //是否收藏 0=未收藏 1=已收藏
    private int isCollect=0;
    //是否添加愿望单 0=未添加 1=添加
    private int isWish = 0;
    private String material;
    /**
     * 商品主色
     */
    private String mainColor;
    /**
     * 预售提示
     */
    private String prepayTips;
    
    private GoodsUser user;

//    private Integer heat=0; //热度
    private List<GoodsImage> goodsImages = new ArrayList<>();
    //商品颜色
    private List<GoodsColor> goodsColorList = new ArrayList<>();
    
	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getCoverImage() {
		return coverImage;
	}

	public void setCoverImage(String coverImage) {
		this.coverImage = coverImage;
	}

	public BigDecimal getStandardPrice() {
		return standardPrice;
	}

	public void setStandardPrice(BigDecimal standardPrice) {
		this.standardPrice = standardPrice;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getInventoryNum() {
		return inventoryNum;
	}

	public void setInventoryNum(Integer inventoryNum) {
		this.inventoryNum = inventoryNum;
	}

	public Short getOffPercent() {
		return offPercent;
	}

	public void setOffPercent(Short offPercent) {
		this.offPercent = offPercent;
	}

	public Short getDisplayStatus() {
		return displayStatus;
	}

	public void setDisplayStatus(Short displayStatus) {
		this.displayStatus = displayStatus;
	}

	public String getSmallDesc() {
		return smallDesc;
	}

	public void setSmallDesc(String smallDesc) {
		this.smallDesc = smallDesc;
	}

	public Short getRecommandType() {
		return recommandType;
	}

	public void setRecommandType(Short recommandType) {
		this.recommandType = recommandType;
	}

	public Integer getTypeFlag() {
		return typeFlag;
	}

	public void setTypeFlag(Integer typeFlag) {
		this.typeFlag = typeFlag;
	}

	public Integer getTypeId() {
		return typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}

	public Integer getIorderNum() {
		return iorderNum;
	}

	public void setIorderNum(Integer iorderNum) {
		this.iorderNum = iorderNum;
	}

	public Integer getBrowerNum() {
		return browerNum;
	}

	public void setBrowerNum(Integer browerNum) {
		this.browerNum = browerNum;
	}

	public Integer getShareNum() {
		return shareNum;
	}

	public void setShareNum(Integer shareNum) {
		this.shareNum = shareNum;
	}

	public Integer getSaleNum() {
		return saleNum;
	}

	public void setSaleNum(Integer saleNum) {
		this.saleNum = saleNum;
	}

	public Integer getPublishDate() {
		return publishDate;
	}

	public void setPublishDate(Integer publishDate) {
		this.publishDate = publishDate;
	}

	public Integer getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Integer createDate) {
		this.createDate = createDate;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getTags() {
		return tags;
	}

	public void setTags(String tags) {
		this.tags = tags;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getStyleCode() {
		return styleCode;
	}

	public void setStyleCode(String styleCode) {
		this.styleCode = styleCode;
	}

	public int getZoneNum() {
		return zoneNum;
	}

	public void setZoneNum(int zoneNum) {
		this.zoneNum = zoneNum;
	}

	public int getIsCollect() {
		return isCollect;
	}

	public void setIsCollect(int isCollect) {
		this.isCollect = isCollect;
	}

	public GoodsUser getUser() {
		return user;
	}

	public void setUser(GoodsUser user) {
		this.user = user;
	}

	public List<GoodsImage> getGoodsImages() {
		return goodsImages;
	}

	public void setGoodsImages(List<GoodsImage> goodsImages) {
		this.goodsImages = goodsImages;
	}

	/*public List<GoodsSize> getGoodsSizeList() {
		return goodsSizeList;
	}

	public void setGoodsSizeList(List<GoodsSize> goodsSizeList) {
		this.goodsSizeList = goodsSizeList;
	}*/

	public List<GoodsColor> getGoodsColorList() {
		return goodsColorList;
	}

	public void setGoodsColorList(List<GoodsColor> goodsColorList) {
		this.goodsColorList = goodsColorList;
	}

	public String getMaterial() {
		return material;
	}

	public void setMaterial(String material) {
		this.material = material;
	}

	public int getIsWish() {
		return isWish;
	}

	public void setIsWish(int isWish) {
		this.isWish = isWish;
	}

	public String getCoverImageUrl() {
		return coverImageUrl;
	}

	public void setCoverImageUrl(String coverImageUrl) {
		this.coverImageUrl = coverImageUrl;
	}

	public Short getIsPrepay() {
		return isPrepay;
	}

	public void setIsPrepay(Short isPrepay) {
		this.isPrepay = isPrepay;
	}

	public BigDecimal getPrepayPrice() {
		return prepayPrice;
	}

	public void setPrepayPrice(BigDecimal prepayPrice) {
		this.prepayPrice = prepayPrice;
	}

	public String getPrepayTips() {
		return prepayTips;
	}

	public void setPrepayTips(String prepayTips) {
		this.prepayTips = prepayTips;
	}

	public String getMainColor() {
		return mainColor;
	}

	public void setMainColor(String mainColor) {
		this.mainColor = mainColor;
	}
    
    
}